﻿namespace Chapter04.DesignMode2 {
    public abstract class PizzaStroe {
        public Pizza OrderPizza(string type) {
            var pizza = CreatePizza(type);

            pizza.Prepare();
            pizza.Bake();
            pizza.Cut();
            pizza.Box();
            return pizza;
        }

        public abstract Pizza CreatePizza(string type);
    }
}
